package com.baige.api.app.sdk.request;

import com.baige.common.core.PageNumRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 可用的优惠券列表请求对象
 * @author wulg
 * @date 2018/12/13.
 */
@ApiModel(value = "CouponUsableListRequest", description = "可用的优惠券列表请求对象",parent = PageNumRequest.class)
public class CouponUsableListRequest extends PageNumRequest
{
    @ApiModelProperty(value = "商品id")
    private String goodsId;
    @ApiModelProperty(value = "交易类型")
    private int saleType;
    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;
    @ApiModelProperty(value = "试用天数")
    private int trialDays;
    @ApiModelProperty(value = "卡id")
    private String cardId;
    @ApiModelProperty(value = "类型(1.商品  2.卡)")
    private String type;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getSaleType() {
        return saleType;
    }

    public void setSaleType(int saleType) {
        this.saleType = saleType;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public int getTrialDays() {
        return trialDays;
    }

    public void setTrialDays(int trialDays) {
        this.trialDays = trialDays;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
